package co.yixiang.modules.sales.param;

import co.yixiang.modules.order.param.BackstageOrderGoodsParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author : gzlv 2021/6/27 16:36
 */
@Data
public class BackstageAddAfterSaleParam {

    @NotNull(message = "请选择客户")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @Size(max = 50,message = "退货原因超过了限制")
    @ApiModelProperty(value = "退货原因")
    private String reasons;

    private List<BackstageOrderGoodsParam> selectProductList;

}
